package com.delaphone.fadmin.action;

import com.delaphone.flocash.web.bean.SelectList;
import java.util.ArrayList;

/**
 * Login Action Controller
 * @author dongtv
 */
public class EditServiceAction extends CoreAction {

    private int service;
    private String serviceName;
    private ArrayList<SelectList> serviceList;
    private String message;
    //private FUser customer;

    public String index() {
        return SUCCESS;
    }

    @Override
    public String execute() {
        return SUCCESS;
    }

    public String saveEdit() throws Exception {
        //Step1: Validate

        return SUCCESS;
    }

    // <editor-fold defaultstate="collapsed" desc="get and set methods">
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getService() {
        return service;
    }

    public void setService(int service) {
        this.service = service;
    }

    public ArrayList<SelectList> getServiceList() {
        serviceList = new ArrayList<SelectList>();
        serviceList.add(new SelectList("0", "All"));
        serviceList.add(new SelectList("1", "Bill Payment Provider"));
        serviceList.add(new SelectList("2", "E Topup Provider"));
        serviceList.add(new SelectList("3", "Payout Partner"));
        return serviceList;
    }

    public void setServiceList(ArrayList<SelectList> serviceList) {
        this.serviceList = serviceList;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
    // </editor-fold>
}
